<!DOCTYPE html>
<html>

<head>
  <title>
    <%= title %>
  </title>
  <link rel='stylesheet' href='/lib/bootstrap/dist/css/bootstrap.min.css' />
  <link rel='stylesheet' href='/stylesheets/font-awesome.min.css' />
  <link rel='stylesheet' href='/stylesheets/ionicons.min.css' />
  <link rel='stylesheet' href='/lib/admin-lte/dist/css/AdminLTE.css' />
  <link rel='stylesheet' href='/lib/admin-lte/dist/css/skins/skin-blue.min.css' />
  <link rel='stylesheet' href='/stylesheets/style.css' />

</head>

<body class="hold-transition skin-blue sidebar-mini">
  <div class="wrapper">

    <!-- 头部 -->
    <% include header.ejs%>
      <!-- Left side column. contains the logo and sidebar -->
      <!-- 左侧栏 -->
      <% include menu.ejs%>
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
          <!-- Content Header (Page header) -->


          <!-- Main content -->
          <section class="content">

            <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title">添加nav</h3>
              </div>
              <!-- /.box-header -->
              <!-- form start -->
              <form class="form-horizontal" action="/addnavAction" method="post">
                <div class="box-body">

                  <div class="form-group">
                    <label for="navID" class="col-sm-2 control-label">navID</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" value="" name="navID" placeholder="navID">
                    </div>
                  </div>

                  <div class="form-group">
                    <label for="navName" class="col-sm-2 control-label">名称</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" value="" name="navName" placeholder="名称">
                    </div>
                  </div>

                  <div class="form-group">
                    <label for="navSrc" class="col-sm-2 control-label">图片地址</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" value="" name="navSrc" placeholder="图片地址">
                    </div>
                  </div>
                </div>
                <!-- /.box-body -->
                <div class="box-footer">
                    <div class="form-group">
                        <label for="alt" class="col-sm-2 control-label" sr-only></label>
                        <div class="col-sm-10">
                            <button type="submit" class="btn btn-info pull-left">添加nav</button>
                        </div>
                      </div>
                      <% if(tip != ""){%>
                        <p><%= tip %></p>
                      <%  }%>
                </div>
                <!-- /.box-footer -->
              </form>
            </div>
            <!-- Your Page Content Here -->

          </section>
          <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->

        <!-- 底部 -->
        <% include footer.ejs%>

          <!-- Control Sidebar -->
          <aside class="control-sidebar control-sidebar-dark">
            <!-- Create the tabs -->
            <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
              <li class="active">
                <a href="#control-sidebar-home-tab" data-toggle="tab">
                  <i class="fa fa-home"></i>
                </a>
              </li>
              <li>
                <a href="#control-sidebar-settings-tab" data-toggle="tab">
                  <i class="fa fa-gears"></i>
                </a>
              </li>
            </ul>
            <!-- Tab panes -->
            <div class="tab-content">
              <!-- Home tab content -->
              <div class="tab-pane active" id="control-sidebar-home-tab">
                <h3 class="control-sidebar-heading">近期活动</h3>
                <ul class="control-sidebar-menu">
                  <li>
                    <a href="javascript::;">
                      <i class="menu-icon fa fa-birthday-cake bg-red"></i>

                      <div class="menu-info">
                        <h4 class="control-sidebar-subheading">Langdon 的生日</h4>

                        <p>Will be 23 on April 24th</p>
                      </div>
                    </a>
                  </li>
                </ul>
                <!-- /.control-sidebar-menu -->

                <h3 class="control-sidebar-heading"> 任务进度</h3>
                <ul class="control-sidebar-menu">
                  <li>
                    <a href="javascript::;">
                      <h4 class="control-sidebar-subheading">
                        自定义模板设计
                        <span class="pull-right-container">
                          <span class="label label-danger pull-right">70%</span>
                        </span>
                      </h4>

                      <div class="progress progress-xxs">
                        <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
                      </div>
                    </a>
                  </li>
                </ul>
                <!-- /.control-sidebar-menu -->

              </div>
              <!-- /.tab-pane -->
              <!--  统计信息选项卡内容 -->
              <div class="tab-pane" id="control-sidebar-stats-tab"> 统计信息选项卡内容</div>
              <!-- /.tab-pane -->
              <!-- Settings tab content -->
              <div class="tab-pane" id="control-sidebar-settings-tab">
                <form method="post">
                  <h3 class="control-sidebar-heading">常规设置项</h3>

                  <div class="form-group">
                    <label class="control-sidebar-subheading">
                      报告面板用法
                      <input type="checkbox" class="pull-right" checked>
                    </label>

                    <p>
                      常规设置选项的相关信息
                    </p>
                  </div>
                  <!-- /.form-group -->
                </form>
              </div>
              <!-- /.tab-pane -->
            </div>
          </aside>
          <!-- /.control-sidebar -->
          <!-- Add the sidebar's background. This div must be placed
                 immediately after the control sidebar -->
          <div class="control-sidebar-bg"></div>
  </div>
  <!-- ./wrapper -->
</body>
<script src="/javascripts/jquery.min.js"></script>
<script src="/lib/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="/javascripts/app.min.js"></script>

</html>